//
//  NetworkingViewManager.h
//  ZYOnlineSchool
//
//  Created by 毕武侠 on 2017/3/3.
//  Copyright © 2017年 bwx. All rights reserved.
//

//  针对有简单的网络请求的ViewManager

#import "BaseViewManager.h"

@interface NetworkingViewManager : BaseViewManager


@property (nonatomic, strong) NSString *url;
@property (nonatomic, strong) NSString *rmodel;
@property (nonatomic, strong, readonly) NSString *msg;

@property (nonatomic, strong) RACSignal *sendSignal;        // 请求Signal 方式一
@property (nonatomic, strong) RACSignal *receiveSignal;     // 接受Signal
@property (nonatomic, strong) RACSignal *errorSignal;       // 接受Signal


// 方式二, 请求
- (void)loadDataWithParams:(NSDictionary *)params;

// 请求时，增加转圈
- (void)setupLoadingView:(UIView *)view;

@end
